﻿using shenghua.Order.Orders.Median;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Commodity.Commodities.Dto
{
    public class CommodityCollectionItemDto: RealCommodityDto
    {
        public double TotalAmount { get; set; }
        public int Count { get; set; }

        public CommodityCollectionItemDto(CommodityCollectionItem input)
            :base(input.Commodity)
        {
            TotalAmount = input.TotalAmount;
            Count = input.Count;
        }
    }
}
